<template>
  <v-row>
    <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 col-xl-12 notice">
      <v-icon color="#faad14">mdi-alert-circle</v-icon>
      <span class="notice-text">免责声明：以下仅为个人观点和投资日记，并不作为投资建议或买卖依据。入市有风险，投资需谨慎！</span>
    </div>
    <div class="col-xs-12 col-sm-12 col-md-8 col-lg-8 col-xl-8 content-body">
      <router-view />
    </div>
    <div class="col-xs-12 col-sm-12 col-md-4 col-lg-4 col-xl-4 vertical-nav">
      <invest-nav />
    </div>
  </v-row>
</template>

<script lang="ts">
import { Component, Vue} from 'vue-property-decorator';
import InvestNav from './components/Nav.vue';

@Component({
  components: {
    InvestNav,
  },
})
export default class Invest extends Vue {
}
</script>

<style lang="scss" scoped>
  .notice {
    background-color: $noticeBackgroundColor;
    color: $noticeColor;
    &-text {
      margin-left: .3em;
    }
  }
  // 大屏幕
  @media (min-width: 960px) {
    .content-body {
      box-shadow: 5px 0px 5px -5px rgba(0,0,0,.2);
      padding: 12px;
    }
    .vertical-nav {
      padding: 12px;
    }
  }
  // 中等屏幕
  @media (min-width: 600px) and (max-width: 960px) {
    .content-body {
      padding: 12px;
      box-shadow: 0px 5px 5px -5px rgba(0,0,0,.2);
    }
    .vertical-nav {
      padding: 12px;
    }
  }
  // 小屏幕
  @media (max-width: 600px) {
    .content-body {
      padding: 12px;
      box-shadow: 0px 5px 5px -5px rgba(0,0,0,.2);
    }
    .vertical-nav {
      padding: 12px;
    }
  }
</style>
